// import com.alibaba.druid.sql.ast.SQLExpr;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "MySqlShowFunctionCodeStatement.h"
#include "../../../../ast/SQLExpr.h"
#include "../../visitor/MySqlASTVisitor.h"

void MySqlShowFunctionCodeStatement::accept0(MySqlASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(MySqlShowFunctionCodeStatement)))
  {
    acceptChild(visitor, name);
  }
  visitor->endVisit(SharedObject(MySqlShowFunctionCodeStatement));
}

SQLExpr_ptr MySqlShowFunctionCodeStatement::getName()
{
  return name;
}

void MySqlShowFunctionCodeStatement::setName(SQLExpr_ptr functionName)
{
  this->name = functionName;
}
